<?php /* Smarty version 2.6.26, created on 2012-05-12 14:52:52
         compiled from C:%5CWampDeveloper%5CWebsites%5Cwww.siyaradiali.com%5Cwebroot%5Cplugins%5Ccategories_icons%5Cicons_pre_category.tpl */ ?>
<?php if ($this->_tpl_vars['cat']['Icon'] && ( $this->_tpl_vars['config']['categories_icons_position'] == 'left' || $this->_tpl_vars['config']['categories_icons_position'] == 'top' )): ?>
	<?php if ($this->_tpl_vars['pageInfo']['Key'] == 'home'): ?>
		<?php $this->assign('icon_path', $this->_tpl_vars['pages']['browse']); ?>
	<?php else: ?>
		<?php $this->assign('icon_path', $this->_tpl_vars['pageInfo']['Path']); ?>
	<?php endif; ?>
	<div style="<?php if ($this->_tpl_vars['config']['categories_icons_position'] == 'left'): ?>display: inline;<?php else: ?>display: block;<?php endif; ?>">
		<a class="category cat_icon" title="<?php echo $this->_tpl_vars['cat']['name']; ?>
" href="<?php echo $this->_tpl_vars['rlBase']; ?>
<?php if ($this->_tpl_vars['config']['mod_rewrite']): ?><?php echo $this->_tpl_vars['pages'][$this->_tpl_vars['listing_type']['Page_key']]; ?>
/<?php echo $this->_tpl_vars['cat']['Path']; ?>
<?php if ($this->_tpl_vars['listing_type']['Cat_postfix']): ?>.html<?php else: ?>/<?php endif; ?><?php else: ?>?page=<?php echo $this->_tpl_vars['pages'][$this->_tpl_vars['listing_type']['Page_key']]; ?>
&amp;category=<?php echo $this->_tpl_vars['cat']['ID']; ?>
<?php endif; ?>">
			<img src="<?php echo @RL_URL_HOME; ?>
files/<?php echo $this->_tpl_vars['cat']['Icon']; ?>
" title="<?php echo $this->_tpl_vars['cat']['name']; ?>
" alt="<?php echo $this->_tpl_vars['cat']['name']; ?>
" />
		</a>
	</div>
<?php endif; ?>